Optimal. Leaf size=147 \[ -\frac {b c x^2 \sqrt {d+i c d x} \sqrt {f-i c f x}}{4 \sqrt {1+c^2 x^2}}+\frac {1}{2} x \sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )+\frac {\sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )^2}{4 b c \sqrt {1+c^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.12, antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 35, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.114, Rules used = {5796, 5785,
5783, 30} \begin {gather*} \frac {\sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )^2}{4 b c \sqrt {c^2 x^2+1}}+\frac {1}{2} x \sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )-\frac {b c x^2 \sqrt {d+i c d x} \sqrt {f-i c f x}}{4 \sqrt {c^2 x^2+1}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 5783
Rule 5785
Rule 5796
Rubi steps
\begin {align*} \int \sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right ) \, dx &=\frac {\left (\sqrt {d+i c d x} \sqrt {f-i c f x}\right ) \int \sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right ) \, dx}{\sqrt {1+c^2 x^2}}\\ &=\frac {1}{2} x \sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )+\frac {\left (\sqrt {d+i c d x} \sqrt {f-i c f x}\right ) \int \frac {a+b \sinh ^{-1}(c x)}{\sqrt {1+c^2 x^2}} \, dx}{2 \sqrt {1+c^2 x^2}}-\frac {\left (b c \sqrt {d+i c d x} \sqrt {f-i c f x}\right ) \int x \, dx}{2 \sqrt {1+c^2 x^2}}\\ &=-\frac {b c x^2 \sqrt {d+i c d x} \sqrt {f-i c f x}}{4 \sqrt {1+c^2 x^2}}+\frac {1}{2} x \sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )+\frac {\sqrt {d+i c d x} \sqrt {f-i c f x} \left (a+b \sinh ^{-1}(c x)\right )^2}{4 b c \sqrt {1+c^2 x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.31, size = 233, normalized size = 1.59 \begin {gather*} \frac {1}{2} a x \sqrt {i d (-i+c x)} \sqrt {-i f (i+c x)}+\frac {a \sqrt {d} \sqrt {f} \log \left (c d f x+\sqrt {d} \sqrt {f} \sqrt {i d (-i+c x)} \sqrt {-i f (i+c x)}\right )}{2 c}-\frac {b \sqrt {i (-i d+c d x)} \sqrt {-i (i f+c f x)} \sqrt {-d f \left (1+c^2 x^2\right )} \left (\cosh \left (2 \sinh ^{-1}(c x)\right )-2 \sinh ^{-1}(c x) \left (\sinh ^{-1}(c x)+\sinh \left (2 \sinh ^{-1}(c x)\right )\right )\right )}{8 c \sqrt {-((-i d+c d x) (i f+c f x))} \sqrt {1+c^2 x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 180.00, size = 0, normalized size = 0.00 \[\int \left (a +b \arcsinh \left (c x \right )\right ) \sqrt {i c d x +d}\, \sqrt {-i c f x +f}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {i d \left (c x - i\right )} \sqrt {- i f \left (c x + i\right )} \left (a + b \operatorname {asinh}{\left (c x \right )}\right )\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )\,\sqrt {d+c\,d\,x\,1{}\mathrm {i}}\,\sqrt {f-c\,f\,x\,1{}\mathrm {i}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________